<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.CreateHistorialnotaEJBTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{bundle.CreateHistorialnotaEJBLabel_historialnotaEJBPK_estudianteECodigo}" for="historialnotaEJBPK_estudianteECodigo" />
                    <h:inputText id="historialnotaEJBPK_estudianteECodigo" value="#{historialnotaEJBController.selected.historialnotaEJBPK.estudianteECodigo}" title="#{bundle.CreateHistorialnotaEJBTitle_historialnotaEJBPK_estudianteECodigo}" required="true" requiredMessage="#{bundle.CreateHistorialnotaEJBRequiredMessage_historialnotaEJBPK_estudianteECodigo}"/>
                    <h:outputLabel value="#{bundle.CreateHistorialnotaEJBLabel_historialnotaEJBPK_id}" for="historialnotaEJBPK_id" />
                    <h:inputText id="historialnotaEJBPK_id" value="#{historialnotaEJBController.selected.historialnotaEJBPK.id}" title="#{bundle.CreateHistorialnotaEJBTitle_historialnotaEJBPK_id}" required="true" requiredMessage="#{bundle.CreateHistorialnotaEJBRequiredMessage_historialnotaEJBPK_id}"/>
                    <h:outputLabel value="#{bundle.CreateHistorialnotaEJBLabel_historialnotaEJBPK_grupoGCodigo}" for="historialnotaEJBPK_grupoGCodigo" />
                    <h:inputText id="historialnotaEJBPK_grupoGCodigo" value="#{historialnotaEJBController.selected.historialnotaEJBPK.grupoGCodigo}" title="#{bundle.CreateHistorialnotaEJBTitle_historialnotaEJBPK_grupoGCodigo}" required="true" requiredMessage="#{bundle.CreateHistorialnotaEJBRequiredMessage_historialnotaEJBPK_grupoGCodigo}"/>
                    <h:outputLabel value="#{bundle.CreateHistorialnotaEJBLabel_historialnotaEJBPK_notaNIdNota}" for="historialnotaEJBPK_notaNIdNota" />
                    <h:inputText id="historialnotaEJBPK_notaNIdNota" value="#{historialnotaEJBController.selected.historialnotaEJBPK.notaNIdNota}" title="#{bundle.CreateHistorialnotaEJBTitle_historialnotaEJBPK_notaNIdNota}" required="true" requiredMessage="#{bundle.CreateHistorialnotaEJBRequiredMessage_historialnotaEJBPK_notaNIdNota}"/>
                    <h:outputLabel value="#{bundle.CreateHistorialnotaEJBLabel_HNFecha}" for="HNFecha" />
                    <h:inputText id="HNFecha" value="#{historialnotaEJBController.selected.HNFecha}" title="#{bundle.CreateHistorialnotaEJBTitle_HNFecha}" >
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                    <h:outputLabel value="#{bundle.CreateHistorialnotaEJBLabel_HNFechaRegistro}" for="HNFechaRegistro" />
                    <h:inputText id="HNFechaRegistro" value="#{historialnotaEJBController.selected.HNFechaRegistro}" title="#{bundle.CreateHistorialnotaEJBTitle_HNFechaRegistro}" required="true" requiredMessage="#{bundle.CreateHistorialnotaEJBRequiredMessage_HNFechaRegistro}">
                        <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                    </h:inputText>
                    <h:outputLabel value="#{bundle.CreateHistorialnotaEJBLabel_HNporcentaje}" for="HNporcentaje" />
                    <h:inputText id="HNporcentaje" value="#{historialnotaEJBController.selected.HNporcentaje}" title="#{bundle.CreateHistorialnotaEJBTitle_HNporcentaje}" required="true" requiredMessage="#{bundle.CreateHistorialnotaEJBRequiredMessage_HNporcentaje}"/>
                    <h:outputLabel value="#{bundle.CreateHistorialnotaEJBLabel_estudianteEJB}" for="estudianteEJB" />
                    <h:selectOneMenu id="estudianteEJB" value="#{historialnotaEJBController.selected.estudianteEJB}" title="#{bundle.CreateHistorialnotaEJBTitle_estudianteEJB}" required="true" requiredMessage="#{bundle.CreateHistorialnotaEJBRequiredMessage_estudianteEJB}">
                        <f:selectItems value="#{estudianteEJBController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.CreateHistorialnotaEJBLabel_notaEJB}" for="notaEJB" />
                    <h:selectOneMenu id="notaEJB" value="#{historialnotaEJBController.selected.notaEJB}" title="#{bundle.CreateHistorialnotaEJBTitle_notaEJB}" required="true" requiredMessage="#{bundle.CreateHistorialnotaEJBRequiredMessage_notaEJB}">
                        <f:selectItems value="#{notaEJBController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.CreateHistorialnotaEJBLabel_habilitacionHId}" for="habilitacionHId" />
                    <h:selectOneMenu id="habilitacionHId" value="#{historialnotaEJBController.selected.habilitacionHId}" title="#{bundle.CreateHistorialnotaEJBTitle_habilitacionHId}" >
                        <f:selectItems value="#{habilitacionEJBController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.CreateHistorialnotaEJBLabel_grupoEJB}" for="grupoEJB" />
                    <h:selectOneMenu id="grupoEJB" value="#{historialnotaEJBController.selected.grupoEJB}" title="#{bundle.CreateHistorialnotaEJBTitle_grupoEJB}" required="true" requiredMessage="#{bundle.CreateHistorialnotaEJBRequiredMessage_grupoEJB}">
                        <f:selectItems value="#{grupoEJBController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{historialnotaEJBController.create}" value="#{bundle.CreateHistorialnotaEJBSaveLink}" />
                <br />
                <br />
                <h:commandLink action="#{historialnotaEJBController.prepareList}" value="#{bundle.CreateHistorialnotaEJBShowAllLink}" immediate="true"/>
                <br />
                <br />
                <h:link outcome="/index" value="#{bundle.CreateHistorialnotaEJBIndexLink}"/>
            </h:form>
        </ui:define>
    </ui:composition>

</html>
